package com.example.mongologistics.service;

import com.example.mongologistics.pojo.Logistics;
import com.example.mongologistics.pojo.Order;

import java.util.List;

public interface OrderService {


    void addOrder(Order order);



    void addLogisticsAndUpdateStatus(Logistics logistics);



    Order getOrderById(int id);


    boolean deleteOrderById(int id);


    List<Order> getAllOrders();
}
